package com.xiaoshuidi.cloud.module.rooms.controller.admin.apartment.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.ToString;

import javax.validation.constraints.NotNull;
import java.time.LocalDateTime;
import java.util.Date;

@Schema(description = "管理后台 - 公寓创建 Request VO")
@Data
public class ApartmentCreateReqVO {
    @Schema(description = "省份")
    @NotNull(message = "省份不能为空")
    private String province;
    @NotNull(message = "城市不能为空")
    @Schema(description = "城市")
    private String city;
    @NotNull(message = "名称不能为空")
    @Schema(description = "名称")
    private String name;
    @Schema(description = "街道")
    @NotNull(message = "街道不能为空")
    private String address;
    @NotNull(message = "楼栋不能为空")
    @Schema(description = "栋")
    private String buildingNo;
    @NotNull(message = "单元不能为空")
    @Schema(description = "单元")
    private String unitNo;
    @Schema(description = "区域")
    private String district;
    @Schema(description = "商圈")
    private String block;
    @NotNull(message = "楼层数不能为空")
    @Schema(description = "楼层数")
    private String floorNum;
    @Schema(description = "每层房间数")
    private String floorRoomNum;
    @Schema(description = "室数")
    private String houseNo;
    @NotNull(message = "房源类型名称不能为空")
    @Schema(description = "房源类型名称")
    private String typeName;
    @NotNull(message = "是否在装修不能为空")
    @Schema(description = "是否在装修")
    private Boolean isDecorating;
    @Schema(description = "装修开始时间")
    private String decoratingStartAt;
    @Schema(description = "装修结束时间")
    private String decoratingEndAt;
    @Schema(description = "部门")
    private String department;
    @Schema(description = "子部门")
    private String subDepartment;
    @NotNull(message = "是否集中式不能为空")
    @Schema(description = "是否集中式")
    private Boolean isConcentrated;
    @NotNull(message = "是否整租不能为空")
    @Schema(description = "是否整租")
    private Boolean isWhole;
    @Schema(description = "房型id")
    private Long layoutId;
}
